package com.hry.store.pojo;

import java.util.Date;

public class ProductColor {
    /** 主键id */
    private Integer colorId;

    /** 颜色 */
    private String colorName;

    /**  */
    private Integer secondCategoryId;

    /** 颜色编码 */
    private String colorCode;

    /** 产品id */
    private Integer productId;

    /** 版本id */
    private Integer versionId;

    /** 图片地址 */
    private String productImgs;

    /** 创建时间 */
    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

    public ProductColor(Integer colorId, String colorName, Integer secondCategoryId, String colorCode, Integer productId, Integer versionId, String productImgs, Date createTime, Date updateTime) {
        this.colorId = colorId;
        this.colorName = colorName;
        this.secondCategoryId = secondCategoryId;
        this.colorCode = colorCode;
        this.productId = productId;
        this.versionId = versionId;
        this.productImgs = productImgs;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public ProductColor() {
        super();
    }

    public Integer getColorId() {
        return colorId;
    }

    public void setColorId(Integer colorId) {
        this.colorId = colorId;
    }

    public String getColorName() {
        return colorName;
    }

    public void setColorName(String colorName) {
        this.colorName = colorName == null ? null : colorName.trim();
    }

    public Integer getSecondCategoryId() {
        return secondCategoryId;
    }

    public void setSecondCategoryId(Integer secondCategoryId) {
        this.secondCategoryId = secondCategoryId;
    }

    public String getColorCode() {
        return colorCode;
    }

    public void setColorCode(String colorCode) {
        this.colorCode = colorCode == null ? null : colorCode.trim();
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getVersionId() {
        return versionId;
    }

    public void setVersionId(Integer versionId) {
        this.versionId = versionId;
    }

    public String getProductImgs() {
        return productImgs;
    }

    public void setProductImgs(String productImgs) {
        this.productImgs = productImgs == null ? null : productImgs.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}